#pragma once
#include "QvObject.h"

class QvToolkit_Export QvBase64 : public QvObject
{
public:
    QvBase64(void);
    virtual ~QvBase64(void);

public:
    static QvInt32 CalcEncodeLength(int nInputLength, QvBoolean insertLineBreaks);
    static QvInt32 Encode(QvByte * input, QvInt32 nLength, QvByte * encoded, QvBoolean insertLineBreaks);
    static QvInt32 Decode(QvByte * input, QvInt32 nLength, QvByte * decoded);
};

